

package com.hazelcast.sql.impl.row;

/**
 * Single row.
 */
public interface Row extends RowBatch {
    @Override
    default Row getRow(int index) {
        assert index == 0;

        return this;
    }

    default <T> T get(int index, boolean useLazyDeserialization) {
        return get(index);
    }

    @Override
    default int getRowCount() {
        return 1;
    }

    <T> T get(int index);

    int getColumnCount();
}
